﻿<!DOCTYPE html>
<html ng-app="myModule">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta charset="utf-8"/>
    <title>在线考试系统</title>
    <!-- 引入样式 -->
    <link href="//openexamcdn.open.com.cn/openexam/static/App/style/logo.css" rel="stylesheet"/>
    <link href="//openexamcdn.open.com.cn/openexam/static/App/style/FaceCompare/FaceCompare.css" rel="stylesheet"/>
    <script>
        var _token = "${token}";
    </script>
</head>
<body ng-controller='exampleController'>
<div class="toparea">
    <div class="con">
        <div class="logo">
            <img src="//openexamcdn.open.com.cn/openexam/static/App/images/Login/openLogo.png"/>
        </div>
        <div class="subtitle"></div>
    </div>
</div>
<div class="wrap">
    <div class="main">
        <div class="tit">人脸识别验证</div>
        <table style="margin: 0 auto;">
            <tr>
                <td valign="top">
                    <div class="stupicBox">
                        <img id="stupic" class="stupic" src="/images/${viewBag.examinerHeadPhotoUrl}"
                             onerror="this.src='//openexamcdn.open.com.cn/openexam/static/App/images/Login/defaultPhoto.jpg';this.onerror=null;"/>
                    </div>
                    <p class="stuname">${viewBag.stuName}</p>
                </td>
                <td valign="top">
                    <div class="camerbox" id="camerbox"></div>
                    <div class="result" id="result"></div>
                </td>
            </tr>
            <!--<tr>
                <td align="center" colspan="2">
                    <input type="button" value="识别验证" id="recognitionbtn" class="verifyBtn"/>
                    <input type="button" value="重新识别" id="rerecognitionbtn" class="verifyBtn" style="display: none;"/>
                    <input type="button" value="承诺本人参加考试" id="promisebtn" class="verifyBtn promisebtn"/>
                </td>
            </tr>-->
        </table>
    </div>
    <div class="shengming">
        <p>声明：</p>
        <p>1）我们会保护考生个人信息，该人脸识别的照片，仅用于本次考试的入场身份验证。</p>
        <p>2）本次考试必须通过人脸识别验证后才能进入考试系统。</p>
        <p>3）如果因为技术原因，人脸识别未能通过，需提供考生本人参加考试的承诺书，并留存现场照片后，进行考试，考务老师会根据实际情况进行审核，成绩是否有效以考务老师的审核结果为准。</p>
        <p><input type="checkbox" id="agree" />我已阅读</p>
    </div>
    <div class="btn_box" style="text-align: center;">
        <input type="button" value="识别验证" id="recognitionbtn" class="verifyBtn"/>
        <input type="button" value="重新识别" id="rerecognitionbtn" class="verifyBtn" style="display: none;"/>
        <input type="button" value="承诺本人参加考试" id="promisebtn" class="verifyBtn promisebtn"/>
    </div>
</div>
<!--<div class="copyright">
    北京奥鹏远程教育中心有限公司 Copyright 2003-2011 www.open.com.cn ALL rights reserved
</div>-->

<!-- 引入脚本 -->
<script src="//openexamcdn.open.com.cn/openexam/static/Scripts/jquery-1.12.4.min.js"></script>
<script src="//openexamcdn.open.com.cn/openexam/static/assets/scripts/ShieldBackspace.js"></script>
<script src="//openexamcdn.open.com.cn/openexam/static/App/scripts/common.js"></script>

<script src="//openexamcdn.open.com.cn/openexam/static/App/scripts/webcam/webcam.min.js"></script>
<script src="//openexamcdn.open.com.cn/openexam/static/App/scripts/webcam/openwebcam.js"></script>
<script src="//openexamcdn.open.com.cn/openexam/static/App/vendor/angular/angular.js"></script>
<script src="//openexamcdn.open.com.cn/openexam/static/App/scripts/FaceCompare/controller.js"></script>
</body>
</html>

